import lombok.*;
import lombok.experimental.Accessors;

/**
 * @author zhaoren
 * @version 1.0
 * @description 被装扮的实体类,这里person就相当于 {@link Component}
 * @date 2020/7/28 11:37
 **/

public abstract class Person {

    private static String name;

    public abstract void show();

    public void setName(String name){
        this.name = name;
    }

    public void showCommon(){
        System.out.print("我叫" + name + "我今天穿了");
    }

}
